<style>
.fui-block {margin:0.2rem 1rem;padding: 0.5rem;min-height:10rem;font-size:0.6rem;color:#fff;background-color: #141622;border-radius: 10px;line-height:1.2rem}
.fui-title {margin:0}
p{margin: 0 0 0.1rem;}
.fui-navbar {border-radius:2rem;background:#3e3e3e;width:90%;left:5%;bottom:0.5rem;right:5%}
.fui-navbar .nav-item {
    color: #fff;
}
.fui-navbar .nav-item .label {
    color: #fff;
}
.fui-navbar .nav-item.active, .fui-navbar .nav-item:active {
    color: #ffcb51;
}
.fui-navbar .nav-item.active .label, .fui-navbar .nav-item:active .label {
    color: #ffcb51;
}
.fui-navbar .cartbtn {padding-right:0.3rem;background:none;opacity:1}
.fui-navbar .buybtn  {padding-left:0.3rem;background:none}
.fee-tag-nav, .fee-tagup-nav, .fee-disabled-nav {border-radius:1rem;height:2rem;line-height:1.95rem;color:#fff;width:100%;font-weight:400;font-size:0.7rem;margin:0.2rem 0;padding:0 0.2rem}
.fee-tagup {background:#f60;color:#fff;width:auto;font-weight:400;font-size:0.55rem}
.fee-tag-nav {background:#141622;}
.fee-tagup-nav {background:#f60;}
.fee-disabled-nav {background:#bbb;color:#fff;}	
</style>
<div class="fui-page fui-page-current page-goods-list" style="background:#000;">
<div class='fui-content' style="top:0;background:#000;">
		<div ng-if="pagedata.authtoken.error==1" class="tips tips-yellow">
			<i class="fa fa-bullhorn"></i> [<red>授权失败</red>]：{{pagedata.authtoken.message}}
		</div>
		<div ng-if="pagedata.upvideo.error==1" class="tips tips-yellow">
			<i class="fa fa-bullhorn"></i> [<red>分享视频失败</red>]：{{pagedata.upvideo.message}}
		</div>
		<div ng-if="pagedata.gameerror.error==1" class="tips tips-yellow">
			<i class="fa fa-bullhorn"></i> [<red>参与失败</red>]：{{pagedata.gameerror.message}}
		</div>
		<div class="fui-icon-group noborder col-5 c" style="margin-top:1rem">
			 <div class="fui-title" style="color:#f60">
				 {{pagedata.item.diy_titles.gongxi || '~恭喜~'}}
			 </div>
			 <div class="fui-title red bold" style="font-size:0.8rem">
				 {{pagedata.item.diy_titles.chenggong || '你已经成功参与传播达人'}}
			 </div>
			 <div class="fui-title">
				 {{pagedata.item.diy_titles.cangyu || '你参与传播的作品是'}}
			 </div>
             <div class="block-video" style="height:10rem;margin:0.5rem 0">
					<video class="video" src="{{tomedia(pagedata.item.video_datas[0].url)}}" style="width:100%;height:100%;" ng-poster="{{tomedia(pagedata.item.video_logo)}}" x5-playsinline="" playsinline="" webkit-playsinline="" preload="auto"  preload="auto" controls loop="loop">
						
					</video>
			</div>
		</div>
	<div class="fui-block" style="display: block;">
		<h4 style="text-align:center;">活动介绍</h4>
		<div class="fui-article-content" ng-bind-html="trust(pagedata.item.content)"></div>
		<div class="footer-support" style="margin:0.5rem 0">
			<div ng-if="main.js_supportimg" class="supportimg"><img ng-src="{{tomedia(main.js_supportimg) || '../core/resource/images/js_supportimg.png'}}"/></div>
			<div class="supporttitle">{{main.js_support}}提供技术支持</div>
		</div>
	</div>
	<!--底部按钮-->
	<div ng-if="pagedata.item.type!=1" class="fui-navbar bottom-buttons">
		<a ng-if="!pagedata.shopset.kefutype_h5 || pagedata.shopset.kefutype_h5==0" class="nav-item favorite-item active" href="{{pagedata.shopset.kflink}}">
			<span class="icon jinyunicon icon-xiaoxi1"></span>
			<span class="label" >客服</span>
		</a>
		<a ng-if="pagedata.shopset.kefutype_h5==1" class="nav-item favorite-item active" ng-click="pagedata.kefuqr=pagedata.shopset.kf_accountimg;pagedata.showqrcode=1;pagedata.openwxlink(pagedata.shopset.kflink)">
			<span class="icon jinyunicon icon-xiaoxi1"></span>
			<span class="label" >客服</span>
		</a>
		<a ng-if="pagedata.shopset.kefutype_h5==2" class="nav-item favorite-item active" href="javascript:;" ng-click="access_json(pagedata.shopset.appkflink)">
			<span class="icon jinyunicon icon-xiaoxi1"></span>
			<span class="label" >客服</span>
		</a>
		<a ng-if="pagedata.shopset.kefutype_h5==3" class="nav-item favorite-item active" href="javascript:;" ng-click="pagedata.kefuqr=pagedata.shopset.weikfewm;pagedata.showqrcode=1">
			<span class="icon jinyunicon icon-xiaoxi1"></span>
			<span class="label" >客服</span>
		</a>
		<a ng-if="pagedata.shopset.kefutype_h5==4" class="nav-item favorite-item active" href="javascript:;" ng-click="pagedata.kefuqr=pagedata.shopset.guwenkfewm;pagedata.showqrcode=1">
			<span class="icon jinyunicon icon-xiaoxi1"></span>
			<span class="label" >客服</span>
		</a>
		<a ng-if="pagedata.item.merchid>0" class="nav-item external" href="javascript:" ng-click="access_json('jy_merch/myshop//id='+pagedata.item.merchid)">
			<span class="icon jinyunicon icon-dianpu"></span>
			<span class="label">小店</span>
		</a>
		<a ng-if="pagedata.item.merchid==0" class="nav-item external" href="javascript:" ng-click="access_json(main.menus[0].action || 'jy_weishop/index/')">
			<span class="icon jinyunicon icon-dianpu"></span>
			<span class="label">首页</span>
		</a>
		<a ng-if="pagedata.item.linktype==0" class="nav-item btn buybtn" href="javascript:" ng-click="access_json('jy_weishop/coupon.myindex//current_plugin=jy_weishop')">
			<div class="fee-tag-nav">
				查看优惠券
			</div>
		</a>
		<a ng-if="pagedata.item.linktype==1" class="nav-item btn buybtn" href="javascript:" ng-click="access_json(pagedata.item.douyinurl)">
			<div class="fee-tag-nav">
				查看抖音商户
			</div>
		</a>
		<a ng-if="pagedata.item.linktype==2" class="nav-item btn buybtn" href="javascript:" ng-click="access_json(pagedata.item.linkurl)">
			<div class="fee-tag-nav">
				查看详情
			</div>
		</a>
		<a ng-if="pagedata.gameerror.error!=1 && pagedata.upvideo.error!=1 && pagedata.authtoken.error!=1" class="nav-item btn buybtn">
			<div ng-if="!pagedata.isgetcoupon" class="fee-tagup-nav" href="javascript:" ng-click="post(pagedata.item,'jy_douyintui/game/getcoupon/')">
				领取优惠券
			</div>
			<div ng-if="pagedata.isgetcoupon" class="fee-tagup-nav" href="javascript:" ng-click="access_json('jy_weishop/coupon.myindex//current_plugin=jy_weishop')">
				查看优惠券
			</div>
		</a>
		<a ng-if="pagedata.gameerror.error==1 || pagedata.upvideo.error==1 || pagedata.authtoken.error==1" class="nav-item btn buybtn" href="javascript:">
			<div class="fee-disabled-nav">
				不能领取券
			</div>
		</a>
	</div>
</div>
<script>
scope.pagedata.gowxapp=function(){
	wx.miniProgram.navigateTo({
		url: '/pages/index/index'
	})
}
if(scope.pagedata.golink){
	scope.confirm({
		'message':'您已成功参与该活动，是否前往查看更多信息？',
		'success':function(){
			scope.access_json(scope.pagedata.golink);
		},
		'fail':function(){}
	});
}
</script>